package com.demo.modules.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.demo.modules.dao.HealthCodeMapper;
import com.demo.modules.entity.HealthCode;
import com.demo.modules.service.HealthCodeService;
@Service
public class HealthCodeServiceImpl extends ServiceImpl<HealthCodeMapper, HealthCode> implements HealthCodeService{

    @Override
    public HealthCode getInfo(Integer userId) {
        return this.baseMapper.selectByUserId(userId);
    }
}
